package com.bigShen.pattern.decorator.login.old;

import com.bigShen.pattern.decorator.login.ResultMsg;

/**
 * @author : lei.shen
 * @date : 2018/10/7
 */
public interface ILoginService {

    /**
     *
     * @param userName user's name
     * @param password pwd
     * @return ResultMsg
     */
    ResultMsg regisier(String userName, String password);

    /**
     *
     * @param userName user's name
     * @param password pwd
     * @return ResultMsg
     */
    ResultMsg login(String userName, String password);

}
